<?
	$hostname='localhost';
	$username='root';
	$password='';
	$database='dbsewavcd';

	$conn=mysql_connect($hostname, $username, $password) or die("Cann't Connect server");
	$eeek=mysql_select_db($database, $conn) or die("Cann't Connect database");

	$laksanakan="delete from vcdrental where kode_vcd='$kode_vcd'";
	$periksakan=mysql_query($laksanakan);

	if($periksakan){
	header ('location: ../index.php');
	}
	else{
	header ('location: ../index.php');
}
?>